<!DOCTYPE html>
<html>
<head>
    <title>全网通缉用户名单</title>
    <#include "/header.html">
</head>
<body>
<style>
    th {
        text-align: center;
    }
</style>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
<!--            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>-->
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">通缉ID</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="wantedUsers.userId" placeholder=""/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">通缉昵称</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="wantedUsers.nickName" placeholder=""/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">通缉头像</div>
                <div class="col-sm-10">
                    <img :src="wantedUsers.avatarUrl" alt="头像url" style="width: 100px; max-height: 100px">
                </div>
            </div>
            <!--                    <div class="form-group">-->
            <!--                        <div class="col-sm-2 control-label">头像本地路径</div>-->
            <!--                        <div class="col-sm-10">-->
            <!--                            <input type="text" class="form-control" v-model="wantedUsers.avaterFile" placeholder="头像本地路径"/>-->
            <!--                        </div>-->
            <!--                    </div>-->
            <div class="form-group">
                <div class="col-sm-2 control-label">通缉openId</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="wantedUsers.openId" placeholder=""/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">公众号</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="wantedUsers.gzhCode" placeholder="公众号标识"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">操作员</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="wantedUsers.createBy" placeholder="数据创建者"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">创建时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="wantedUsers.createTime" placeholder="数据创建时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/wantedusers.js?_${.now?long}"></script>
</body>
</html>
